/*
    https://wangdoc.com/javascript/types/general.html
    数据类型-概述
    instanceof运算符可以区分数组和对象
*/
var o = {};
var a = [];

o instanceof Array; // false
a instanceof Array; // true